package com.glodon.paas.monitor.server.biz.service;

import java.util.ArrayList;

import com.glodon.paas.monitor.server.biz.domain.MonitorUserEntity;
import com.glodon.paas.monitor.server.exception.MonitorException;

public interface MonitorUserService {

	int deleteByPrimaryKey(Long id) throws MonitorException;

	int insert(MonitorUserEntity record) throws MonitorException;

	int insertSelective(MonitorUserEntity record) throws MonitorException;

	MonitorUserEntity selectByPrimaryKey(Long id) throws MonitorException;

	MonitorUserEntity selectByUserName(String userName) throws MonitorException;

	MonitorUserEntity loginByUserNameAndPassword(String userName, String password) throws MonitorException;

	ArrayList<MonitorUserEntity> queryMonitorUser(MonitorUserEntity record) throws MonitorException;

	int updateByPrimaryKeySelective(MonitorUserEntity record) throws MonitorException;

	int updateByPrimaryKey(MonitorUserEntity record) throws MonitorException;

}
